<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE>
<html>
<head>
  <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/layout.css" />
  <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/module_public.css" />
  <script type="text/javascript" src="__PUBLIC__/Js/jquery.js"></script>
  <script type="text/javascript" src="__PUBLIC__/Js/My97DatePicker/WdatePicker.js"></script>
  <script type="text/javascript" src="__PUBLIC__/Js/system.js"></script>
</head>
<body>
  <div class="module_public">
     <div class="module_public_content">
        <h1> >> 投票中心 <a href="__ACTION__">【刷新】</a></h1>
     </div>
     <div class="module_public_main"> 
        <table>
          <?php for($i=0;$i<count($v_info);$i++){ echo "<form action='__URL__/do_vote' method='post'>"; echo "<input type='hidden' name='v_id' value='{$v_info[$i][v_id]}' />"; echo "<tr><td><b>"; echo ($i+1).".".$v_info[$i]['v_title']."</b><br/>"; for($j=0;$j<count($i_info);$j++){ if($v_info[$i]['v_id'] == $i_info[$j]['i_vid']){ if($v_info[$i]['v_type']==1){ echo "<input type='radio' name='v[]' style='margin-top:5px;' value='{$i_info[$j]['i_id']}' />&nbsp;".$i_info[$j]['i_title']."<br/>"; }else{ echo "<input type='checkbox' name='v[]' style='margin-top:5px;' value='{$i_info[$j]['i_id']}'  />&nbsp;".$i_info[$j]['i_title']."<br/>"; } } } echo "<input type='submit' value='投票' class='_button' style='margin-top:5px;'/>"; echo "<a href='__URL__/look_vote/v_id/{$v_info[$i][v_id]}/v_title/{$v_info[$i][v_title]}'>&nbsp;&nbsp;>>查看投票结果<<</a>"; echo "</td></tr></form>"; } ?>
        </table>
     </div>
  </div>
</body>
</html>